// pages/poetry/poetry.js
import resource from '../../libs/resource'

Page({
  data: {
    loading: true,
    grids: [{
      title: "课本古诗",
      url: "grade/grade",
      image: resource.poetry_grade_image
    }, {
      title: '排行榜',
      url: 'rank/rank',
      image: resource.poetry_rank_image
    }, {
      title: '诗词分类',
      url: 'mark/mark',
      image: resource.poetry_mark_image
    }, {
      title: '作者合称',
      url: 'hecheng/hecheng',
      image: resource.poetry_hecheng_image
    }, {
      title: '史书典籍',
      url: "oldbook/oldbook",
      image: resource.poetry_bookmark_image
    }]
  },
  onLoad: function (options) {
    setTimeout(() => {
      this.setData({
        loading: false
      })
    }, 1000)
  },
  onReady() {

  },
  onShareAppMessage() {

  },
})